
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Statement;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author HASSAN
 */
public class test {
    public static void main(String[] args) throws SQLException {
     try{  PreparedStatement prepare = connexion.getInstance().prepareStatement("SELECT * FROM salarie WHERE cls_nom = ?");
        Statement state = connexion.getInstance().createStatement();
       connexion.getInstance().setAutoCommit(false);
        DatabaseMetaData meta =  connexion.getInstance().getMetaData();
} catch (SQLException e) {
e.printStackTrace();
}

    }
}
